[이클립스RCP(ECLIPSE RCP)] EclipseRCP 퍼스펙티브 다루기(EclipseRCP perspective handling)
이미지출처 : www.mobilefish.com
등록된 퍼스펙티브 배열 받아오기 (Getting registered perspective array)
IPerspectiveRegistry perspectiveRegistry = window.getWorkbench().getPerspectiveRegistry();
IPerspectiveDescriptor[] perspectiveDescriptors = perspectiveRegistry.getPerspectives();
IPerspectiveDescriptor[] perspectiveDescriptors = perspectiveRegistry.getPerspectives();
현재의 퍼스팩티브 받아오기 (Getting current perspective)
WorkbenchWindow.getActivePage().getPerspective();
퍼스펙티브 전환하기 (Changing perspective)
WorkbenchWindow.getActivePage().setPerspective(IPerspectiveDescriptor perspective);